<?php /* Smarty version 2.6.16, created on 2013-08-21 18:13:48
         compiled from ../templates/admin/seo/seo.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'return_fetched_value', '../templates/admin/seo/seo.tpl', 39, false),array('modifier', 'base64_decode', '../templates/admin/seo/seo.tpl', 54, false),array('modifier', 'base64_encode', '../templates/admin/seo/seo.tpl', 54, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_start'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<script type="text/javascript" src="';  echo $this->_tpl_vars['siteroot'];  echo '/includes/js/admin/checkall.js" /></script>'; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_end'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo ' 
<script type="text/javascript">
$(function(){
	$(".someClass").tipTip();
});

$(function(){
	$(".someClass").tipTip({maxWidth: "auto", edgeOffset: 10});
});
</script> 
'; ?>

<div class="contain"> <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['left_menu'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <div class="right_contain">
    <div class="heading_box" style="height:19px;"> <span class="lF">Manage SEO</span> <span class="rF"><a href="javascript:;" class="someClass" title="<?php echo $this->_tpl_vars['moduelArray']['module_help_text']; ?>
"><img src="<?php echo $this->_tpl_vars['siteroot']; ?>
/templates/admin/img/topic_icon6.png" /></a></span>
      <div class="clear"></div>
    </div>
    <div class="whitebox"> 
      
      <!--Message Div Start--> 
      <?php if ($this->_tpl_vars['msg']): ?>
      <div class="masg_div"> <?php echo $this->_tpl_vars['msg']; ?>
 </div>
      <?php endif; ?> 
      <!--Message Div End-->
      
      <div> 
        <!--Form Contain start-->
        
        <div class="table_viewbox"> 
          <!--<h2>Table Design</h2>-->
          <form name="searchFrm" id="searchFrm" method="post" action="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=seo&order_field=<?php echo $this->_tpl_vars['order_field']; ?>
&order_by=<?php echo $this->_tpl_vars['order_by']; ?>
&search=<?php echo $this->_tpl_vars['search']; ?>
">
            <table width="100%" border="0" cellpadding="3" cellspacing="5">
              <tr>
                <td align="left"></td>
                <td align="right"><input type="text" name="search" id="search" class="input41" value="<?php if (((is_array($_tmp=$this->_tpl_vars['search'])) ? $this->_run_mod_handler('return_fetched_value', true, $_tmp) : smarty_modifier_return_fetched_value($_tmp)) != ''):  echo ((is_array($_tmp=$this->_tpl_vars['search'])) ? $this->_run_mod_handler('return_fetched_value', true, $_tmp) : smarty_modifier_return_fetched_value($_tmp));  else: ?>Search<?php endif; ?>" onfocus="this.value=''" onblur="if(this.value=='')this.value='Search'" />
                  &nbsp;
                  <input type="submit" name="add" id="add" value="Search" class="admin_btn" />
                  &nbsp;
                  <input type="button" name="add" id="add" value="Clear" class="admin_btn" onclick="javascript: window.location='<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=seo&order_field=<?php echo $this->_tpl_vars['order_field']; ?>
&order_by=<?php echo $this->_tpl_vars['order_by']; ?>
';" /></td>
              </tr>
            </table>
          </form>
          <form name="frm" id="frm" action="" method="post" >
            <input type="hidden" name="hidden_pageno" id="hidden_pageno" value="<?php echo $this->_tpl_vars['page']; ?>
" />
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_viewbox">
              <tr>
                <th width="6%" align="center">Sr.No.</th>
                <th width="58%">
                	<div class="lF">
                  	<a <?php if (((is_array($_tmp=$_GET['col1'])) ? $this->_run_mod_handler('base64_decode', true, $_tmp) : base64_decode($_tmp)) == '0'): ?> href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=seo&col1=<?php echo ((is_array($_tmp=1)) ? $this->_run_mod_handler('base64_encode', true, $_tmp) : smarty_modifier_base64_encode($_tmp)); ?>
&page=<?php echo $this->_tpl_vars['page']; ?>
" <?php else: ?>href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=seo&col1=<?php echo ((is_array($_tmp=0)) ? $this->_run_mod_handler('base64_encode', true, $_tmp) : smarty_modifier_base64_encode($_tmp)); ?>
&page=<?php echo $this->_tpl_vars['page']; ?>
" <?php endif; ?>>Module Name</a></div>
                	<div class="lF" style="margin-left:10px; margin-top:2px;">
                    	<div style="width:10px; height:6px;"><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=seo&col1=<?php echo ((is_array($_tmp=0)) ? $this->_run_mod_handler('base64_encode', true, $_tmp) : smarty_modifier_base64_encode($_tmp)); ?>
&page=<?php echo $this->_tpl_vars['page']; ?>
" ><img <?php if (((is_array($_tmp=$_GET['col1'])) ? $this->_run_mod_handler('base64_decode', true, $_tmp) : base64_decode($_tmp)) == '1'): ?> src="<?php echo $this->_tpl_vars['siteroot']; ?>
/templates/admin/img/admin_toparrow_white.png" <?php else: ?> src="<?php echo $this->_tpl_vars['siteroot']; ?>
/templates/admin/img/admin_toparrow_black.png" <?php endif; ?> title="ACS" /></a> <br /></div>
                        <div style="width:10px; height:6px; margin-top:3px; *margin-top:4px;"><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=seo&col1=<?php echo ((is_array($_tmp=1)) ? $this->_run_mod_handler('base64_encode', true, $_tmp) : smarty_modifier_base64_encode($_tmp)); ?>
&page=<?php echo $this->_tpl_vars['page']; ?>
"><img <?php if (((is_array($_tmp=$_GET['col1'])) ? $this->_run_mod_handler('base64_decode', true, $_tmp) : base64_decode($_tmp)) == '0' || ((is_array($_tmp=$_GET['col1'])) ? $this->_run_mod_handler('base64_decode', true, $_tmp) : base64_decode($_tmp)) == ''): ?> src="<?php echo $this->_tpl_vars['siteroot']; ?>
/templates/admin/img/admin_downarrow_white.png" <?php else: ?> src="<?php echo $this->_tpl_vars['siteroot']; ?>
/templates/admin/img/admin_downarrow_black.png" <?php endif; ?> title="DESC" /></a></div>
                    </div>
                    <div class="clear"></div>                   
				</th>
                <th width="36%">Action</th>
              </tr>
              <?php if ($this->_tpl_vars['seoArray']): ?>
              <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['seoArray']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
              <tr class="inactiverow" id="tr_<?php echo $this->_tpl_vars['seoArray'][$this->_sections['i']['index']]['id']; ?>
">
                <td align="center"><?php echo $this->_tpl_vars['newid']; ?>
</td>
                <?php if ($this->_tpl_vars['seoArray'][$this->_sections['i']['index']]['module_name'] == ' Default'): ?>
                <td><strong><?php echo $this->_tpl_vars['seoArray'][$this->_sections['i']['index']]['module_name']; ?>
</strong></td>
                <?php else: ?>
                <td><?php echo $this->_tpl_vars['seoArray'][$this->_sections['i']['index']]['module_name']; ?>
</td>
                <?php endif; ?>
                <td>&nbsp; <span><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=editseo&id=<?php echo ((is_array($_tmp=$this->_tpl_vars['seoArray'][$this->_sections['i']['index']]['id'])) ? $this->_run_mod_handler('base64_encode', true, $_tmp) : smarty_modifier_base64_encode($_tmp)); ?>
&action=edit&page=<?php echo $this->_tpl_vars['page']; ?>
&order_field=<?php echo $this->_tpl_vars['order_field']; ?>
&order_by=<?php echo $this->_tpl_vars['order_by']; ?>
&search=<?php echo $this->_tpl_vars['search']; ?>
" title="Edit SEO"><img src="<?php echo $this->_tpl_vars['siteroot']; ?>
/templates/admin/img/icon_edit.png"/></a></span></td>
              </tr>
              <!-- <?php echo $this->_tpl_vars['newid']++; ?>
 --> 
              <?php endfor; endif; ?>
              <?php else: ?>
              <tr>
                <td class="error" align="center" colspan="3">No Records Found</td>
              </tr>
              <?php endif; ?>
              <?php if ($this->_tpl_vars['pagination']): ?>
              <tr>
                <td colspan="3"><div class="pagination"> <?php echo $this->_tpl_vars['pagination']; ?>
 </div></td>
              </tr>
              <?php endif; ?>
            </table>
          </form>
        </div>
        <!--Form Contain end--> 
      </div>
    </div>
  </div>
  <!--right_contain end-->
  <div class="clear"></div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['footer'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>